#include <iostream>

using namespace std;

const int N = 220;
int n;
bool flag;
bool flag2;
void an(int x, int y){
    if(x == y) return ;
    cout<<"sin(";
    cout << x;
    if(x != y - 1)
    {
            if(flag == true){
        flag = false;
        cout << '+';
    }
    else{
        flag = true;
        cout << '-';
    }        
    }

    an(x + 1, y);
    cout << ")";
}

void sn(int x, int y){
    cout << "(";
    an(1,y);
    if(x != n-1){
        if(flag2 == true){
            flag2 = false ;
            cout << "-";
        }
        else
        {
            flag2 = true;
            cout << "+";
        }
        
    }
    cout << x;
    
}
int main(){
    cin >> n;
    an(1,12);
    // dfs();
    return 0; 
}